package com.cljh.controller.page;

/**
 * 响应编码类
 */
public class Code {
    public static final Integer SAVE_OK = 20011;
    public static final Integer DELETE_OK = 20021;
    public static final Integer UPDATE_OK = 20031;
    public static final Integer GET_OK = 20041;

    public static final Integer SAVE_ERR = 20010;
    public static final Integer DELETE_ERR = 20020;
    public static final Integer UPDATE_ERR = 20030;
    public static final Integer GET_ERR = 20040;

    public static final Integer SYSTEM_ERR = 50001;
    public static final Integer SYSTEM_TIMEOUT_ERR = 50002;
    public static final Integer SYSTEM_UNKNOW_ERR = 59999;

    public static final Integer BUSINESS_ERR = 60002;


    public static final String DICT_TYPE = "icon";

    //Redis
    public static final String FILES_KEY="FILES_FRONT_ALL";
    public static final String USER_KEY="USER_FRONT_ALL";
    public static final String SALE_ALL="SALE_ALL";
    public static final String SALES_ALL="SALES_ALL";
    public static final String SALES_MAN="SALES_MAN";
    public static final String SALES_WOMAN="SALES_WOMAN";
    public static final String SALES_CHILD="SALES_CHILD";
    public static final String DISTINCT_SELECT_PRODUCT="DISTINCT_SELECT_PRODUCT";
    public static final String SELECT_PRODUCT="SELECT_PRODUCT";

    public static final String CALENDAR = "CALENDAR";
}
